package com.state.example;

public class Main {
    public static void main(String[] args) {
        Work work = new Work();
        work.hour = 9;
        work.writeProgram();
        work.hour = 10;
        work.writeProgram();
        work.hour = 12;
        work.writeProgram();
        work.hour = 13;
        work.writeProgram();
        work.hour = 14;
        work.writeProgram();
        work.hour = 17;
        work.writeProgram();

        work.taskFinished = false;

        work.hour = 19;
        work.writeProgram();
        work.hour = 22;
        work.writeProgram();
    }
}
